package example.rss;

import java.util.ArrayList;
import java.util.List;

import rlm.helper.StringPair;

public class RSSEntry extends RSSElement {
	private String content;
	private List<StringPair> contentList;
	
	public RSSEntry(){
		contentList = new ArrayList<StringPair>();
	}
	
	public String getContent() {
		if (this.content == null)
			this.content = contentList.get(0).get2();
		
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public List<StringPair> getContentList(){
		return contentList;
	}
	
}
